package com.xiyou.luckdraw.common.enums;

/**
 * @ClassName: OssDirEnum
 * @Description: oss图片枚举
 * @author: limingxing
 * @Date: 2019-10-10 19:41
 */
public enum OssDirEnum {

    head(1, "head/", "头像"), DEFAULT(0, "default/", "默认值"),
    notice(2, "notice/", "萌萌公告");
    private final int key;
    private final String dir;
    private final String desc;

    OssDirEnum(int key, String dir, String desc) {
        this.key = key;
        this.dir = dir;
        this.desc = desc;
    }

    public int getKey() {
        return key;
    }

    public String getDir() {
        return dir;
    }

    public String getDesc() {
        return desc;
    }

}
